/*
 * Copyright 2008 Carnegie Mellon University
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *  
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, 
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package edu.cmu.lti.sepia.infra.system.model;

public class User {

	private int userId;
	private String userName;
	private String password;
	private String role;
	private String displayLang;
	private String description;
	
	public User( int userId, String userName,
			String password, String role,  
			String displayLang, String description ) {
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.role = role;
		this.displayLang = displayLang;
		this.description = description;
	}
	
	/**
	 * @return the userId
	 */
	public int getUserId() {
		return userId;
	}
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @return the role
	 */
	public String getRole() {
		return role;
	}
	/**
	 * @return the displayLang
	 */
	public String getDisplayLang() {
		return displayLang;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "User [description=" + description + ", displayLang="
				+ displayLang + ", password=" + password + ", role=" + role
				+ ", userId=" + userId + ", userName=" + userName + "]";
	}

	
}
